import socket


def send_msg(msg):
    socket_ = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
    socket_.connect(('localhost', 23390))
    socket_.send(msg.encode('utf-8'))
    socket_.close()
